<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateVcareacatsTable extends Migration
{

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('vcareacats', function (Blueprint $table) {
            $table->increments('id');
            $table->string('vcareacat_no', 100);
            $table->string('name', 100);
            $table->string('title', 100);
            $table->string('subtitle', 100)->nullable();
            $table->string('short_desc', 100);
            $table->text('long_desc')->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('vcareacats');
    }
}
